package domain;

public class LyyBaseResponse {
    private int status=1;
    private String errMsg="";

    public LyyBaseResponse() {
    }

    public LyyBaseResponse(int status, String errMsg) {
        this.status = status;
        this.errMsg = errMsg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    @Override
    public String toString() {
        return "LyyBaseResponse{" +
                "status=" + status +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
